//
// C++ Implementation: runningapp
//
// Description:
//
//
// Author: Ernesto Barragan <ernestus *at* gmail.com>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "runningapp.h"

RunningApp::RunningApp( Window xWin, Display* xDisplay )
{
#if 0
    if(0 == xDisplay)
    {
        xDisplay = QX11Info::display() ; //the most common use
    }

    m_xWindow = xWin ;
    m_xDisplay = xDisplay ;
#endif
}

RunningApp::~RunningApp()
{
}

QString RunningApp::name()
{
    QString theName ;
#if 0
    char* window_name_return ;
    XFetchName( m_xDisplay, m_xWindow, &window_name_return);

    theName = window_name_return ;
    XFree( window_name_return ) ;
#endif
    return theName ;
}
